Components › Forms & input › Date & time › Calendar

Calendar

canon

Month grid with navigation and presets, single or range selection.

Calendar PAGE chrome (acrm !3942, AD 27 Sep 2026): month label = SectionTopBarChip opening the jump popover (the page title stays „Kalendář“); year ←→ = IconButton sm; the 12-month grid reuses the day cell `.dp-day` with `.sel` + aria-current — one „selected“ look for date picking, no button variant as state. DELIBERATE EXCEPTION: the nav trio ‹ ● › (previous · today · next) keeps its own look per the owner’s ACRM-91/97/103 (arrows without a hover surface that only darken, „Dnes“ a small grey circle-dot) — real <button>s with aria-label and a focus ring, tokens only; do not convert to IconButton. The day-panel ear (.cal-ear) is a second exception (surface chrome, tokens only).

Used in 7 files · 6 areas · 7× — components/FilterBar, components/callwrapup, components/mail, components/projects, components/tasks, components/timeline

Default

červenec 2026
components--calendar--defaultOpen standalone ↗Code

Variants

červenec 2026
single — singleDatePresets
červenec 2026srpen 2026
range, two months — pastRangePresets
červenec 2026
range, one month — filter chip width, no .range frame
components--calendar--variantsOpen standalone ↗Code

Sizes

červenec 2026
months 1 — .dp-pop 264px
červenec 2026srpen 2026
months 2 — .dp-pop.range 540px
components--calendar--sizesOpen standalone ↗Code

States

červenec 2026
no selection — today 23. 7. as accent digit
červenec 2026
open range — od 20. 7. (band continues, stop only at the start)
červenec 2026
open range — do 10. 7.
červenec 2026
min/max — days outside 20. 7. – 31. 7. disabled
Focus: the focused day (roving tabindex) draws the accent ring; hover fills with --hover-surface; a range in progress shows `.dp-day.preview` between the first click and the pointer.
components--calendar--statesOpen standalone ↗Code

Composition

–8 dní
červenec 2026srpen 2026
range picker body — head + presets + two months + footer
components--calendar--compositionOpen standalone ↗Code